#ifndef _ICAR_FLAT_MSG_H
#define _ICAR_FLAT_MSG_H

#if defined(__cplusplus)
extern "C" {
#endif

#include "icar_msg.h"

int flat_set_water_temp(uint8_t *dest, const char *pro, size_t plen, int);
int flat_set_motor_time(uint8_t *dest, const char *pro, size_t plen, int );
int flat_set_speed(uint8_t *dest, const char *pro, size_t len, int);
int flat_set_voltage(uint8_t *dest, const char *pro, size_t len, int);
int flat_set_obd_interval(uint8_t *dest, const char *pro, size_t len, int);
int flat_set_fault_interval(uint8_t *dest, const char *pro, size_t len, int);
int flat_set_accOff_interval(uint8_t *dest, const char *pro, size_t len, int, int);

int flat_set_aOn_interval(uint8_t *dest, const char *pro, size_t len, int, int);

int flat_set_gps_reboot(uint8_t *dest, const char *pro, size_t len);
int flat_set_hard_reboot(uint8_t *dest, const char *pro, size_t len);
int flat_set_reset(uint8_t *dest, const char *pro, size_t len);

int flat_set_offset_distance(uint8_t *dest, const char *pro, size_t len, size_t);
int flat_set_owner_number(uint8_t *dest, const char *pro, size_t plen, const char *number, size_t nlen);
int flat_set_sos_number(uint8_t *dest, const char *pro, size_t plen, const char *number, size_t nlen);
int flat_set_sim_number(uint8_t *dest, const char *pro, size_t plen, const char *number, size_t nlen);
int flat_calibrate_vehicle(uint8_t *dest, const char *pro, size_t plen, const char * , size_t);
int flat_clear_fault_alarm(uint8_t *dest, const char *pro, size_t len);

int flat_monitor(uint8_t *dest, const char *pro, size_t len, const char *number, size_t nlen);

int flat_set_defence(uint8_t *dest, const char *pro, size_t len, int);

int flat_oil_power(uint8_t *dest, const char *pro, size_t len, int);
int flat_level_check(uint8_t *dest, const char *pro, size_t len);

int flat_mileage_calibrate(uint8_t *dest, const char *pro, size_t len, size_t value);
int flat_mail_phone_alarm(uint8_t *dest, const char *pro, size_t len, int param, int value);

int flat_diagnose(uint8_t *dest, const char *pro, size_t len);
int flat_check(uint8_t *dest, const char *pro, size_t len);
int flat_clean_fault(uint8_t *dest, const char *pro, size_t len);
int flat_query_fault(uint8_t *dest, const char *pro, size_t len);
int flat_query_status(uint8_t *dest, const char *pro, size_t len);


#if defined(__cplusplus)
}
#endif


#endif
